import request from '@/utils/request'

enum API {
  UPLOADFILE_URL = '/upload',
  GETIMAGE_URL='/images/'
}
export const reqUploadImage = (file: any) => request.post(API.UPLOADFILE_URL,file)  //上传图片至和后台文件中

// export const getImageUrl = (imageName: any) => request.post(API.UPLOADFILE_URL+imageName)